package com.eystar.ext.kit.page;

public class PageOrder {

	public static final String ORDER_ASC = "asc";
	public static final String ORDER_DESC = "desc";
	
	public int pageNum;
	public int pageSize = 20;
	public String order;
	public String orderType = ORDER_ASC;
	
	public PageOrder(){
		this.pageNum = 1;
		this.pageSize = 50000;
	}
	
	public PageOrder(int pageNum,int pageSize){
		this.pageNum = pageNum;
		this.pageSize = pageSize;
	}
	
	public PageOrder(int pageNum,int pageSize,String order){
		this.pageNum = pageNum;
		this.pageSize = pageSize;
		this.order = order;
	}

	public int getPageNum() {
		return pageNum;
	}

	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}

	public int getPageSize() {
		return pageSize;
	}

	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public String getOrderType() {
		return orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
	
	

}
